<% form_tag( :action => 'batch_deal' ) do -%>
<table width="60%" border="0">
<% for user in users%>
    <tr>
      <td align="left" valign="middle">
      <%= user.login %>
      </td>
      <td align="right">
      <%= link_to "编辑", edit_admin_user_path(user) %>
      </td>
      <td align="right">
      <%= link_to "踢出", kick_user_admin_group_path(@group, :user => user), :method => :put, :confirm => "Are you sure?" %>
      </td>
      <td>
      <%= check_box("to_be_deal", user.id, {}, "yes", "no") %>
      </td>
    </tr>
<% end %>
   <tr>
    <td>
        
    </td>
    <td>
    
    </td>
    <td>
    
    </td>
  </tr>
</table>
<% end -%>
<% if !@users.nil? %>
<%= will_paginate(@users)%>
<% end %>